dic = {"guangzhou": "广州", "meizhou": "梅州", "zhanjiang": "湛江"}

# 访问字典
print(dic["guangzhou"])  # 输出: 广州

# 遍历字典
for key, value in dic.items():
    print(f"{key}: {value}")


# 删除字典元素
del dic["meizhou"]
print(dic)

# 检查键是否存在于字典中
print("zhanjiang" in dic)
